home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / GRAPHICS / RAYTRACING / POVRAY-2.2 / SCENES / level2 / ILLUM2a < prev    next >
Text File  |  1993-10-11  |  3KB  |  222 lines

  1. // Persistence Of Vision raytracer version 2.0 sample file.
  2.  
  3. // By Tom Price
  4.  
  5. #include "shapes"
  6. #include "colors"
  7. #include "textures"
  8.  
  9. camera {
  10.    location <0.0, 30.0, -200.0>
  11.    direction <0.0, -0.2, 1.0>
  12.    up <0.0, 1.0, 0.0>
  13.    right <4/3, 0.0, 0.0>
  14. }
  15.  
  16. intersection {
  17.    plane { z, 1.0 }
  18.    plane { z, -1.0 inverse }
  19.    plane { y, -60.0 }
  20.  
  21.    pigment {
  22.       Apocalypse
  23.       scale <50.0, 10.0, 20.0>
  24.       rotate 30*y
  25.    }
  26.    finish {
  27.       crand 0.01
  28.       ambient 0.3
  29.       diffuse 0.7
  30.       reflection 0.3
  31.       brilliance 3.0
  32.    }
  33.  
  34.    scale <1.0, 1.0, 200.0>
  35. }
  36.  
  37. intersection {
  38.    sphere { <0, 0, 0>, 10000 }
  39.    sphere { <0, 0, 0>, 9999 inverse }
  40.  
  41.    pigment {
  42.       Bright_Blue_Sky
  43.       scale <400.0, 50.0, 800.0>
  44.       rotate -45*y
  45.    }
  46.    finish {
  47.       crand 0.05
  48.       ambient 0.3
  49.       diffuse 0.5
  50.    }
  51.  
  52.    translate <0.0, -9500.0, 0.0>
  53. }
  54.  
  55. sphere { <0.0, 32.659862, 0.0>, 20.0
  56.    pigment { White }
  57.    finish {
  58.       crand 0.01
  59.       ambient 0.11
  60.       diffuse 0.22
  61.       reflection 0.7
  62.       brilliance 5.0
  63.    }
  64. }
  65.  
  66. sphere { <0.0, 0.0, -23.09401>, 20.0
  67.    pigment { Red }
  68.    finish {
  69.       crand 0.01
  70.       ambient 0.11
  71.       diffuse 0.22
  72.       reflection 0.7
  73.       brilliance 5.0
  74.    }
  75.    rotate -15*y
  76. }
  77.  
  78. sphere { <0.0, 0.0, -23.09401>, 20.0
  79.    pigment { Green }
  80.    finish {
  81.       crand 0.01
  82.       ambient 0.11
  83.       diffuse 0.22
  84.       reflection 0.7
  85.       brilliance 5.0
  86.    }
  87.  
  88.    rotate -135*y
  89. }
  90.  
  91. sphere { <0.0, 0.0, -23.09401>, 20.0
  92.    pigment { Blue }
  93.    finish {
  94.       crand 0.01
  95.       ambient 0.11
  96.       diffuse 0.22
  97.       reflection 0.7
  98.       brilliance 5.0
  99.    }
  100.  
  101.    rotate 105*y
  102. }
  103.  
  104. sphere { <0.0, -32.659862, -23.09401>, 20.0
  105.    pigment { Cyan }
  106.    finish {
  107.       crand 0.01
  108.       ambient 0.11
  109.       diffuse 0.22
  110.       reflection 0.7
  111.       brilliance 5.0
  112.    }
  113.  
  114.    rotate -75*y
  115. }
  116.  
  117. sphere { <0.0, -32.659862, -23.09401>, 20.0
  118.    pigment { Magenta }
  119.    finish {
  120.       crand 0.01
  121.       ambient 0.11
  122.       diffuse 0.22
  123.       reflection 0.7
  124.       brilliance 5.0
  125.    }
  126.  
  127.    rotate -195*y
  128. }
  129.  
  130. sphere { <0.0, -32.659862, -23.09401>, 20.0
  131.    pigment { Yellow }
  132.    finish {
  133.       crand 0.01
  134.       ambient 0.11
  135.       diffuse 0.22
  136.       reflection 0.7
  137.       brilliance 5.0
  138.    }
  139.  
  140.    rotate 45*y
  141. }
  142.  
  143. sphere { <0.0, -32.659862, -46.18802>, 20.0
  144.    pigment { DimGray }
  145.    finish {
  146.       crand 0.01
  147.       ambient 0.11
  148.       diffuse 0.22
  149.       reflection 0.7
  150.       brilliance 5.0
  151.    }
  152.  
  153.    rotate -15*y
  154. }
  155.  
  156. sphere { <0.0, -32.659862, -46.18802>, 20.0
  157.    pigment { Turquoise }
  158.    finish {
  159.       crand 0.01
  160.       ambient 0.11
  161.       diffuse 0.22
  162.       reflection 0.7
  163.       brilliance 5.0
  164.    }
  165.  
  166.    rotate -135*y
  167. }
  168.  
  169. sphere { <0.0, -32.659862, -46.18802>, 20.0
  170.    pigment { Tan }
  171.    finish {
  172.       crand 0.01
  173.       ambient 0.11
  174.       diffuse 0.22
  175.       reflection 0.7
  176.       brilliance 5.0
  177.    }
  178.  
  179.    rotate 105*y
  180. }
  181.  
  182. light_source {
  183.    <0, 0, 0> colour Orange
  184.  
  185.    looks_like {
  186.       sphere { <0, 0, 0>, 75
  187.          pigment { Orange }
  188.          finish { ambient 1.0  diffuse 0.0 }
  189.       }
  190.    }
  191.  
  192.    translate 9800*y
  193.    rotate <-5.0, 0.0, 2.0>
  194.    translate -11000*y
  195. }
  196.  
  197. light_source {
  198.    <0, 0, 0> color White
  199.  
  200.    looks_like {
  201.       sphere { <0, 0, 0>, 20
  202.          pigment { White }
  203.          finish { ambient 1.0 diffuse 0.0 }
  204.       }
  205.    }
  206.  
  207.    translate <60.0, 160.0, -200.0>
  208. }
  209.  
  210. light_source {
  211.    <0, 0, 0> color White
  212.  
  213.    looks_like {
  214.       sphere { <0, 0, 0>, 20.0
  215.          pigment { White }
  216.          finish { ambient 1.0 diffuse 0.0 }
  217.       }
  218.    }
  219.  
  220.    translate <-60.0, 160.0, -200.0>
  221. }
  222.